#ifndef LISTEN_THREAD_H
#define LISTEN_THREAD_H

#include <QThread>
#include "tb_interface/cmdlineparser.h"
class listen_thread: public QThread
{
	Q_OBJECT
public:
	explicit listen_thread(const TASKBUS::cmdlineParser * cmdline,bool taskBusMod = false,QObject * parent = 0);

protected:
	bool m_bTBInterface = false;
	const TASKBUS::cmdlineParser * m_cmdline {0};
	void run() override;
signals:
	void newCmd(QString);
	void quit_app();
};

#endif // LISTEN_THREAD_H
